package com.hospital.dao;

import java.util.List;

import com.hospital.vo.News;

public interface INewsDao {
	public boolean doCreate(News news) throws Exception;
	public List<News> findByType(String keyWord, String type,int startIndex, int count) throws Exception;
	public boolean doUpdate(News news) throws Exception;
	public boolean doUpdateT(News news) throws Exception;
	public int count(String type) throws Exception;
	public News findById(int nid) throws Exception;
	public List<News> findReferences(int nid, String type, int size) throws Exception;
	public boolean doDel(int nid) throws Exception;
}
